//
//  YPDynamicVCCell.m
//  WHISPER
//
//  Created by lanou3g on 15/12/20.
//  Copyright © 2015年 王艳苹. All rights reserved.
//

#import "YPDynamicVCCell.h"
#import "UIView+Extention.h"
@implementation YPDynamicVCCell

- (UILabel *)contentLable{
    if (_contentLable == nil) {
        _contentLable = [[UILabel alloc]initWithFrame:CGRectMake(20,20, [UIScreen mainScreen].bounds.size.width - 40, 0)];
        _contentLable.numberOfLines = 0;
        [self.contentView addSubview:_contentLable];
    }
    return _contentLable;
}

- (UIImageView *)contentImage{
    if (_contentImage == nil) {
        _contentImage = [[UIImageView alloc]initWithFrame:CGRectMake(20,20, [UIScreen mainScreen].bounds.size.width - 40, 0)];
        [self.contentView addSubview:_contentImage];
    }
    return _contentImage;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
